package com.base.library.manager;

import android.support.annotation.StringRes;
import android.support.design.widget.Snackbar;
import android.view.View;

/**
 * Created by ChengZhi on 2017/4/16.
 */

public class SnackBarManager {
    public static void showMessage(View view, String msg) {
        Snackbar.make(view, msg, Snackbar.LENGTH_LONG).show();
    }

    public static void showMessage(View view, @StringRes int msgId) {
        Snackbar.make(view, msgId, Snackbar.LENGTH_LONG).show();
    }
}
